export default defineEventHandler(async (event) => {
    const baseUrl = useRuntimeConfig().public.serviceUrl;
    const file = (await readBody(event)) as FormData;
    console.log(typeof await readBody(event))
    const res = await fetch(baseUrl + '/oss/upload',{
        method: 'POST',
        body: file,
    }).then((res)=>res.json());
    // console.log(res.data)
    return res;
})